package com.jiyun.passenger.service.impl;

import com.jiyun.passenger.mapper.UserHistoryMapper;
import com.jiyun.passenger.service.UserHistoryService;
import com.jiyun.pojo.UserHistory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserHistoryServiceImpl implements UserHistoryService {
    @Autowired
    UserHistoryMapper userHistoryMapper;
    @Override
    public List<UserHistory> findHistoryList(UserHistory userHistory) {
        return userHistoryMapper.findHistoryList(userHistory);
    }
}
